sequenceDiagram
    participant Main
    participant Dog
    participant Animal

    Main->>Dog: new Dog()
    Dog->>Animal: Animal()
    Animal->>Animal: makeSound()
    Animal-->>Dog: (动态绑定)
    Dog->>Dog: makeSound()

    Dog->>Dog: makeSound()
